SftTree/NET 2.0

ButtonLook Property, SftTree Class

Softel vdm, Inc.

Defines the appearance of expand/collapse buttons.

Syntax      SftTree Class (Softelvdm.SftTreeNET)

VB   

Public Property ButtonLook As ButtonLookEnum

C#   

public ButtonLookEnum ButtonLook { get; set; }

C++   

public: property ButtonLookEnum ButtonLook {
        ButtonLookEnum get();
        void set(ButtonLookEnum value);
}

Property Value

The button appearance.

ButtonLookEnum

Value

Description

System

0

The expand/collapse buttons have an appearance that mimics the current operating system, but does not use themes, even if these are enabled by the operating system.

Simple

1

The expand/collapse buttons use a predefined, simple appearance, similar to expand/collapse buttons used on non-themed versions of Windows.

ThemedAppearanceXP

2

The expand/collapse buttons emulate an appearance that mimics Windows XP themes, even on operating systems that do not offer themes.

ThemedAppearanceVista

3

The expand/collapse buttons emulate an appearance that mimics Windows Vista themes, even on operating systems that do not offer themes.

ThemedSystem

4

The expand/collapse buttons have an appearance that mimics the current operating system. For example, on Windows XP (and above), Windows themes would be used if these are enabled by the operating system.

Custom

5

The expand/collapse buttons use application-defined images and attributes defined using the control's Buttons property.

The default value is ButtonLookEnum.ThemedSystem.

Comments

The ButtonLook property defines the appearance of expand/collapse buttons.

The ShowExpandCollapseButtons property is used to define whether expand/collapse buttons are shown.

Expand/collapse buttons are optional and are displayed in the hierarchy area of the hierarchy column. They are only shown if a hierarchy column has been defined (ColumnClass.ShowHierarchy).


Feedback / comments / error reports for this topic
© 2007 - Softel vdm, Inc. - www.softelvdm.com